﻿using WeDonekRpc.Helper.Validate;

namespace RpcStore.RemoteModel.Transmit.Model
{
    /// <summary>
    /// 负载均衡查询参数
    /// </summary>
    public class TransmitQuery
    {
        /// <summary>
        /// 集群Id
        /// </summary>
        [NumValidate("rpc.store.mer.Id.error", 1)]
        public long RpcMerId
        {
            get;
            set;
        }
        /// <summary>
        /// 集群Id
        /// </summary>
        [NumValidate("rpc.store.scheme.Id.error", 1)]
        public long SchemeId
        {
            get;
            set;
        }
        /// <summary>
        /// 服务节点类型
        /// </summary>
        [NumValidate("rpc.store.server.type.error", 1)]
        public long SystemTypeId
        {
            get;
            set;
        }
        /// <summary>
        /// 查询关键字
        /// </summary>
        public string QueryKey
        {
            get;
            set;
        }

        /// <summary>
        /// 区域Id
        /// </summary>
        public int? RegionId
        {
            get;
            set;
        }
    }
}
